home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 March / CHIP Mart 1997.iso / SurfCam / SURFCAM.Z / CNT4.M3 < prev    next >
Encoding:
Text File  |  1996-04-01  |  3.8 KB  |  160 lines

  1. name Centurion 4
  2.  
  3. N 3
  4. A 00 G
  5. T 2 1
  6. G 3
  7. F 3.1
  8. R -2.4
  9. I -2.4
  10. J -2.4
  11. X -2.4
  12. Y -2.4
  13. Z -2.4
  14. Q -2.4
  15. U 2.4 Z
  16. P -2.4
  17. E 00
  18. B 00 N
  19. D 00
  20. M 3
  21. S 4
  22.  
  23. ModalGs 0 1 2 3 73 74 76 80 81 82 83 84 85  # List of g codes that are modal    
  24.  
  25. Modalletters F Z                      # List of letters that are modal    
  26.  
  27. Sequence#s N 0 1 1                    # Char, freq, incr & start          
  28.  
  29. HCode X                               # X or X U  'Horizontal char.       
  30. VCode Y                               # Y or Y V  'Vertical char.         
  31. Dcode Z                               # Depth char.                       
  32. FeedCode F                            # Feed rate char.                   
  33.  
  34. Comment ( )                           # Begin End comment char.           
  35.  
  36. Spindle 3 4 5                         # Cw, ccw & stop m codes            
  37. Coolant 8 9 7                         # On, Off & Mist m codes            
  38. DComp 41 42 40                        # Left, Right & Cancel m codes      
  39. LComp 43 49                           # On & Off codes                    
  40.  
  41. Feed G1                             # Linear move                       
  42. Rapid G0                            # Rapid positioning word            
  43. Cw G2                               # Circular move clockwise           
  44. Ccw G3                              # Circular move counter clockwise   
  45.  
  46. Spaces? Y                             # Y or N  'Spaces between words     
  47. Incremental? N                        # Y or N  'Inc or abs output        
  48. CtrIncremental? N                     # Y or N  'Inc or abs I & J         
  49. ByQuadrants? N                        # Y or N  'Break arcs at quadrants  
  50.  
  51. Inc/Abs G 91 90                       # Inc & Abs char. & values          
  52.  
  53. Work G                                # Work offset register              
  54.  
  55. CtrCode I J R                         # I J or R or I J K L               
  56. Helical? N
  57.  
  58. UppercaseComments? Y                  # Y or N 'Require uppercase comments
  59.  
  60.  
  61. EndCode                               # End of the program                
  62. M994
  63. M5 M9 M2
  64. End
  65. LTap                                  # Left handed tapping cycle         
  66. F[FRate]
  67. G300 P[RPlane]
  68. G306 Z0
  69. G308 Z[D]
  70. G323 P.5
  71. G84
  72. X[H] Y[V]
  73. end cancel
  74.  
  75. Drill                                 # Drilling canned/manual cycle      
  76. F[FRate]
  77. G300 P[RPlane]
  78. G306 Z0
  79. G308 Z[D]
  80. G81
  81. X[H] Y[V]
  82. end cancel
  83.  
  84. Peck                                  # Pecking canned/manual cycle       
  85. F[FRate]
  86. G300 P[RPlane]
  87. G306 Z0
  88. G307 U[VBite]
  89. G308 Z[D]
  90. G83
  91. X[H] Y[V]
  92. end cancel
  93.  
  94. Tap                                   # Tapping canned/manual cycle       
  95. F[FRate]
  96. G300 P[RPlane]
  97. G306 Z0
  98. G308 Z[D]
  99. G323 P.5
  100. G84
  101. X[H] Y[V]
  102. end cancel
  103.  
  104. Ream                                  # Reaming canned/manual cycle       
  105. F[FRate]
  106. G306 Z0
  107. G308 Z[D]
  108. G323 P.5
  109. G85 X[H] Y[V]
  110. end cancel
  111.  
  112. Bore                                  # Boring canned/manual cycle        
  113. F[FRate]
  114. G306 Z0
  115. G308 Z[D]
  116. G323 P.5
  117. G85 X[H] Y[V]
  118. end
  119.  
  120. Back                                  # Back boring canned/manual cycle   
  121. F[FRate]
  122. G306 Z0
  123. G308 Z[D]
  124. G323 P.5
  125. G85 X[H] Y[V]
  126. end cancel
  127.  
  128. Cancel                                # Cancel a canned/manual cycle      
  129. G80
  130. end
  131.  
  132. StartCode                             # Start of the program              
  133. M994
  134. End
  135.  
  136. 1stToolChange                         # First tool change                 
  137. G0 Z[RPlane]
  138. A0 T[Tool] G48 S[Speed]
  139. M[Direct] M9 M[Cool]
  140. G0 X[H] Y[V]
  141. Z[D]
  142. End
  143.  
  144. Infeed                                # Enable cutter comp                
  145. G1 Z[D] F[Plunge]
  146. G[Side] X[H] Y[V] F[FRate]
  147. end
  148.  
  149. Outfeed                               # Disable cutter comp               
  150. G1 G40 X[H] Y[V]
  151. Z[D]
  152. end
  153.  
  154. ToolChange                            # Secondary tool changes            
  155. G80 G0 G40 G100 G60 X0 Y0
  156. A0 T[Tool] M6
  157. G0 X[H] Y[V]
  158. Z[D]
  159. End
  160.